package com.mjk.common.web.getway.transfer;


import com.mjk.common.web.getway.transfer.cloud.CloudGetWayProtocol;
import com.mjk.common.web.getway.transfer.dubbo.DubboGetWayProtocol;
import com.mjk.common.web.getway.transfer.http.HttpGetWayprotocol;
import com.mjk.common.web.getway.transfer.ws.WsGetWayProtocol;
import lombok.Getter;

/**
 * 网关协议转化 种类 和 实现类
 * @author mjk
 *
 */
@Getter
public enum GetwayTransferType {
	DUBBO("dubbo", DubboGetWayProtocol.class),
	CLOUD("cloud", CloudGetWayProtocol.class),
	HTTP("http", HttpGetWayprotocol.class),
	WS("ws", WsGetWayProtocol.class)
	;
	private String prototalName;
	private Class<?> clazz;
	GetwayTransferType(String prototalName,Class<?> clazz){
		this.prototalName = prototalName;
		this.clazz = clazz;
	}




}
